import request from '@/utils/request'

export function getLogHistoryList(data) {
  return request({
    url: '/api/user/loginhistory/getPageHistoryLogList',
    method: 'post',
    data: data
  })
}

export function saveLogHistory(query) {
  return request({
    url: '/api/user/loginhistory/saveUcHistoryLog',
    method: 'post',
    data: query
  })
}

export function updateLogHistory(data) {
  return request({
    url: '/api/user/loginhistory/updateUcHistoryLog',
    method: 'post',
    data: data
  })
}

export function getUcLogHistoryDetail(data) {
  return request({
    url: '/api/user/loginhistory/getUcHistoryLogDetail',
    method: 'post',
    data: data
  })
}

export function deleteUcHistoryLog(data) {
  return request({
    url: '/api/user/loginhistory/deleteUcHistoryLog',
    method: 'post',
    data: data
  })
}
